删除重复行

https://stackoverflow.com/questions/1573361/how-do-i-find-and-remove-duplicate-lines-from-a-file-using-regular-expressions

1
^(.*)(\r?\n\1)+$
2019-02-21.16.19.31-image.png

2019-02-21.16.19.31-image.png

删除空白行

1
^\s*(?=\r?$)\n